Tom,
In the script commands there is one listed as "Enabled", but when I try to use it I get the following error from the compiler.
tcc: undefined symbol 'ENABLED'
I am trying to use it to tell if the 3 axes on my mill are enabled, and if they are then I am setting a bit high which in turn energizes the "drive enable" line in on my servo drives.
if(Enabled(0)&&Enabled(1)&&Enabled(2))
{
SetBit(144); // Enables servo drives
}
else
{
clearbit(144); //UN-ENABLES THE DRIVES
}
Did you remove this script command? How else can I do this?
I know you spend a lot of time supporting your products and answering posts on here. But
I have not seen many say it. So THANK YOU for your time, effort and great products.
-Dan